#!/bin/bash
set -euo pipefail

rm -fR test
mkdir test

./csvchk -d "," -s "i2*;b;i4;I8;t;f8;n(7,4);c(10)" -header -trim \
    <input/data.csv  \
    >test/output.csv \
   2>test/errors.out

diff -qr output test
rm -fR test
